package com.lemi.entity;

import com.lemi.common.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "sys_user_role")
public class UserRole extends BaseEntity {
    private String userId;
    private String roleId;

    public UserRole() {
    }

    public UserRole(String userId, String roleId, Date createTime,String createName) {
        super(createTime,createName);
        this.userId = userId;
        this.roleId = roleId;
    }
}
